/**
 * 
 */
package org.gstreamer.java.runtime;

import com.sun.jna.Library;
import com.sun.jna.Native;

/**
 * 
 *
 */
public interface CrtLibrary extends Library {

	CrtLibrary INSTANCE = (CrtLibrary) Native.loadLibrary("msvcrt", CrtLibrary.class);
	
	/**
	 * Create, modify, or remove environment variables. The whole environment string 
	 * is going to be set
	 * 
	 * @param envstring Environment string.
	 * @return Return 0 if successful, or -1 if error.
	 */
	int _putenv(String envstring);
	
	/**
	 * Get a value from the current environment.
	 *  
	 * @param varname Environment variable name.
	 * @return Returns environment table entry containing varname
	 */
	String getenv(String varname);
}
